package com;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.Future;

public class CallBackThread {
    public static void main(String[] args) throws ExecutionException, InterruptedException {
//        ExecutorService executorService = Executors.newCachedThreadPool();
//        Future<String> future = executorService.submit(new MyCallable());
//        System.out.println("ddddddd");
//        if (!future.isDone()){
//            System.out.println("task has not finished!");
//        }
//        System.out.println(future.get());

        int a = 0x80;
        int b = 0x40;
        int e = 0x20;
        int c = a | b;
        int d = a & b;
        System.out.println(c);
    }
}
